+2006-06-06 Øyvind Kolås <pippin@gimp.org>
+
+ * docs/Makefile.am: redirect the check for tempfile to /dev/null
+ * docs/tools/xml_insert.sh: Add tempfile workaround here as well.
+
2006-06-06 Øyvind Kolås <pippin@gimp.org>
* docs/Makefile.am: Do not rely that a command calle tempfile exists.
Makefile.am
echo -n "HTML: $@"
cp $< $@
- (which tempfile && TMPFILE=`tempfile` || TMPFILE="/tmp/babl_build_tempfile" ;\
+ (which tempfile > /dev/null&& TMPFILE=`tempfile` || TMPFILE="/tmp/babl_build_tempfile" ;\
export BABL_PATH="$(top_builddir)/extensions"; $(top_builddir)/tests/babl_html_dump > $$TMPFILE;\
$(top_srcdir)/docs/tools/xml_insert.sh $@ BablBase $$TMPFILE;\
rm -f $$TMPFILE )
#
# FIXME: add argument checking / error handling
-TMP_FILE=`tempfile`
+which tempfile > /dev/null && TMP_FILE=`tempfile` || TMP_FILE="/tmp/temp_file"
cp $1 $TMP_FILE